package com.tangji.antenna.bean;

/**
 * Created with IntelliJ IDEA.
 * User: yujianfu (mr.vencnet@gmail.com)
 * Date: 2020-07-21
 * Time: 17:06
 */
public enum ProviderTypeEnum {

    FINNHUB("finnhub", "finnhub"),
    POLYGON("polygon", "polygon"),
    POLYGON_FOREX("forex.polygon", "forex.polygon");

    private String type;

    private String desc;

    ProviderTypeEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public ProviderTypeEnum setType(String type) {
        this.type = type;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public ProviderTypeEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }

}
